Learn 2 ways to handle a button press event from tkinter for python programming